// Locale mirror of `/` → renders `/de`. Re-exports the bare page verbatim
// (the component reads its locale from the URL via the layout's provider);
// `getStaticPaths` tells `voltro build` which locale-prefixed paths to emit.
// The default locale is NOT listed here — it lives at the bare `/`.
import { SUPPORTED_LOCALES, DEFAULT_LOCALE } from '../../lib/locale'

export { default } from '../page'
export { renderMode, meta } from '../page'

export const getStaticPaths = async (): Promise<Array<{ params: { locale: string } }>> =>
  SUPPORTED_LOCALES
    .filter((l) => l !== DEFAULT_LOCALE)
    .map((locale) => ({ params: { locale } }))
